package org.platform.mo.db;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "tb_fd_kb_treemain")
public class FdKbTreemain {
    /**
     * ID
     */
    @Id
    @Column(name = "ID")
    private String id;

    /**
     * 知识ID
     */
    @Column(name = "KnowledgeID")
    private Long knowledgeid;


    /**
     * 树ID
     */
    @Column(name = "TreeID")
    private Long treeid;

    /**
     * 故障树名称
     */
    @Column(name = "TreeName")
    private String treename;

    /**
     * 故障树描述
     */
    @Column(name = "TreeDesc")
    private String treedesc;

    /**
     * 故障树类型(0：设备故障树
     1：业务故障树
     2：自定义故障树
     )
     */
    @Column(name = "TreeType")
    private Integer treetype;

    /**
     * 设备类型
     */
    @Column(name = "DeviceType")
    private String devicetype;


    @Column(name = "version")
    private Double version;
}